<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h2 shiro:hasPermission="user:add"><a href="/user/userAdd">添加用户</a></h2>
<h2 shiro:hasPermission="user:delete"><a href="/user/userDelete">删除用户</a></h2>
<h2 shiro:hasPermission="user:update"><a href="/user/userUpdate">修改用户</a></h2>
<h2 shiro:hasPermission="user:query"><a href="/user/userQuery">查询用户</a></h2>
<h2 shiro:hasPermission="user:export"><a href="/user/userExport">导出用户</a></h2>
<h2><a href="/logout">退出系统</a></h2>
</body>
</html>